package br.com.ordersys.framework.restlayer;

import java.util.List;


public interface IServiceEnvelop {
	int STATUS_OK = 0;
	int STATUS_ERROR = 1;
	int STATUS_CANCELED = 2;
	int STATUS_UNAUTHORIZED = 3;

	IResponseBody getBody();

	void setBody(IResponseBody body);
	
	void setStatus(int status);
	
	void setWarnings(List<String> l);
	
	void setErrorMessage(String s);
}
